package com.jy.wms.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/*
* 包装管理
* 路由页面
* */
@Controller
@RequestMapping("/wmsbz")
public class WmsBaoZhuang {
    //主页面
    @RequestMapping(value = "/toPicking")
    public String toKq() {
        return "wmsPacking/bzList";
    }
    //包装增加页面
    @RequestMapping(value = "/addPicking")
    public String addKq() {
        return "wmsPacking/addPicking";
    }

    /*跳转到修改包装页面*/
    @RequestMapping(value = "/editPicking")
    public String editKq(String id, Model model) {
        model.addAttribute("id",id);
        return "wmsPacking/editPicking";
    }
    /*跳转到包装详情页面*/
    @RequestMapping(value = "/getFindPicking")
    public String getFindKq(String id, Model model) {
        System.out.println("包装id："+id);
        model.addAttribute("id",id);
        return "wmsPacking/getFindPicking";
    }

}
